package com.pmpd.activity.po;

import java.io.Serializable;

public class ActivityUser implements Serializable {
    /**
     * 
     * 表字段 : a_activity_user.id
     */
    private Long id;

    /**
     * app编号
     * 表字段 : a_activity_user.project_id
     */
    private String projectId;

    /**
     * 
     * 表字段 : a_activity_user.user_id
     */
    private Long userId;

    /**
     * 类型，1,成长派  2, 挑战派 3,.....
     * 表字段 : a_activity_user.type
     */
    private Integer type;

    /**
     * 参加活动的时间
     * 表字段 : a_activity_user.join_time
     */
    private Long joinTime;

    /**
     * 参加活动到活动结束的时间
     * 表字段 : a_activity_user.end_time
     */
    private Long endTime;

    /**
     * 活动id
     * 表字段 : a_activity_user.activity_id
     */
    private Long activityId;

    /**
     * 活动开始时间
     * 表字段 : a_activity_user.activity_start_time
     */
    private Long activityStartTime;

    /**
     * 活动结束时间
     * 表字段 : a_activity_user.activity_end_time
     */
    private Long activityEndTime;

    /**
     * 任务完成天数
     * 表字段 : a_activity_user.finish_days
     */
    private Integer finishDays;

    /**
     * 中奖状态. 1,未参与抽奖  2,参与抽奖,3 中奖，
     * 表字段 : a_activity_user.winning_state
     */
    private Integer winningState;

    /**
     * 
     * 表字段 : a_activity_user.create_time
     */
    private Long createTime;

    /**
     * 
     * 表字段 : a_activity_user.update_time
     */
    private Long updateTime;

    /**
     * 参与第几档的抽奖活动,如5天抽奖，如７天抽奖
     * 表字段 : a_activity_user.award_day
     */
    private Integer awardDay;

    /**
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database table a_activity_user
     *
     * @mbggenerated
     */
    private static final long serialVersionUID = 1L;

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table a_activity_user
     *
     * @mbggenerated
     */
    public ActivityUser(Long id, String projectId, Long userId, Integer type, Long joinTime, Long endTime, Long activityId, Long activityStartTime, Long activityEndTime, Integer finishDays, Integer winningState, Long createTime, Long updateTime, Integer awardDay) {
        this.id = id;
        this.projectId = projectId;
        this.userId = userId;
        this.type = type;
        this.joinTime = joinTime;
        this.endTime = endTime;
        this.activityId = activityId;
        this.activityStartTime = activityStartTime;
        this.activityEndTime = activityEndTime;
        this.finishDays = finishDays;
        this.winningState = winningState;
        this.createTime = createTime;
        this.updateTime = updateTime;
        this.awardDay = awardDay;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table a_activity_user
     *
     * @mbggenerated
     */
    public ActivityUser() {
        super();
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column a_activity_user.id
     *
     * @return the value of a_activity_user.id
     *
     * @mbggenerated
     */
    public Long getId() {
        return id;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column a_activity_user.id
     *
     * @param id the value for a_activity_user.id
     *
     * @mbggenerated
     */
    public void setId(Long id) {
        this.id = id;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column a_activity_user.project_id
     *
     * @return the value of a_activity_user.project_id
     *
     * @mbggenerated
     */
    public String getProjectId() {
        return projectId;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column a_activity_user.project_id
     *
     * @param projectId the value for a_activity_user.project_id
     *
     * @mbggenerated
     */
    public void setProjectId(String projectId) {
        this.projectId = projectId == null ? null : projectId.trim();
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column a_activity_user.user_id
     *
     * @return the value of a_activity_user.user_id
     *
     * @mbggenerated
     */
    public Long getUserId() {
        return userId;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column a_activity_user.user_id
     *
     * @param userId the value for a_activity_user.user_id
     *
     * @mbggenerated
     */
    public void setUserId(Long userId) {
        this.userId = userId;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column a_activity_user.type
     *
     * @return the value of a_activity_user.type
     *
     * @mbggenerated
     */
    public Integer getType() {
        return type;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column a_activity_user.type
     *
     * @param type the value for a_activity_user.type
     *
     * @mbggenerated
     */
    public void setType(Integer type) {
        this.type = type;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column a_activity_user.join_time
     *
     * @return the value of a_activity_user.join_time
     *
     * @mbggenerated
     */
    public Long getJoinTime() {
        return joinTime;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column a_activity_user.join_time
     *
     * @param joinTime the value for a_activity_user.join_time
     *
     * @mbggenerated
     */
    public void setJoinTime(Long joinTime) {
        this.joinTime = joinTime;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column a_activity_user.end_time
     *
     * @return the value of a_activity_user.end_time
     *
     * @mbggenerated
     */
    public Long getEndTime() {
        return endTime;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column a_activity_user.end_time
     *
     * @param endTime the value for a_activity_user.end_time
     *
     * @mbggenerated
     */
    public void setEndTime(Long endTime) {
        this.endTime = endTime;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column a_activity_user.activity_id
     *
     * @return the value of a_activity_user.activity_id
     *
     * @mbggenerated
     */
    public Long getActivityId() {
        return activityId;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column a_activity_user.activity_id
     *
     * @param activityId the value for a_activity_user.activity_id
     *
     * @mbggenerated
     */
    public void setActivityId(Long activityId) {
        this.activityId = activityId;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column a_activity_user.activity_start_time
     *
     * @return the value of a_activity_user.activity_start_time
     *
     * @mbggenerated
     */
    public Long getActivityStartTime() {
        return activityStartTime;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column a_activity_user.activity_start_time
     *
     * @param activityStartTime the value for a_activity_user.activity_start_time
     *
     * @mbggenerated
     */
    public void setActivityStartTime(Long activityStartTime) {
        this.activityStartTime = activityStartTime;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column a_activity_user.activity_end_time
     *
     * @return the value of a_activity_user.activity_end_time
     *
     * @mbggenerated
     */
    public Long getActivityEndTime() {
        return activityEndTime;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column a_activity_user.activity_end_time
     *
     * @param activityEndTime the value for a_activity_user.activity_end_time
     *
     * @mbggenerated
     */
    public void setActivityEndTime(Long activityEndTime) {
        this.activityEndTime = activityEndTime;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column a_activity_user.finish_days
     *
     * @return the value of a_activity_user.finish_days
     *
     * @mbggenerated
     */
    public Integer getFinishDays() {
        return finishDays;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column a_activity_user.finish_days
     *
     * @param finishDays the value for a_activity_user.finish_days
     *
     * @mbggenerated
     */
    public void setFinishDays(Integer finishDays) {
        this.finishDays = finishDays;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column a_activity_user.winning_state
     *
     * @return the value of a_activity_user.winning_state
     *
     * @mbggenerated
     */
    public Integer getWinningState() {
        return winningState;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column a_activity_user.winning_state
     *
     * @param winningState the value for a_activity_user.winning_state
     *
     * @mbggenerated
     */
    public void setWinningState(Integer winningState) {
        this.winningState = winningState;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column a_activity_user.create_time
     *
     * @return the value of a_activity_user.create_time
     *
     * @mbggenerated
     */
    public Long getCreateTime() {
        return createTime;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column a_activity_user.create_time
     *
     * @param createTime the value for a_activity_user.create_time
     *
     * @mbggenerated
     */
    public void setCreateTime(Long createTime) {
        this.createTime = createTime;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column a_activity_user.update_time
     *
     * @return the value of a_activity_user.update_time
     *
     * @mbggenerated
     */
    public Long getUpdateTime() {
        return updateTime;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column a_activity_user.update_time
     *
     * @param updateTime the value for a_activity_user.update_time
     *
     * @mbggenerated
     */
    public void setUpdateTime(Long updateTime) {
        this.updateTime = updateTime;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column a_activity_user.award_day
     *
     * @return the value of a_activity_user.award_day
     *
     * @mbggenerated
     */
    public Integer getAwardDay() {
        return awardDay;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column a_activity_user.award_day
     *
     * @param awardDay the value for a_activity_user.award_day
     *
     * @mbggenerated
     */
    public void setAwardDay(Integer awardDay) {
        this.awardDay = awardDay;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table a_activity_user
     *
     * @mbggenerated
     */
    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", projectId=").append(projectId);
        sb.append(", userId=").append(userId);
        sb.append(", type=").append(type);
        sb.append(", joinTime=").append(joinTime);
        sb.append(", endTime=").append(endTime);
        sb.append(", activityId=").append(activityId);
        sb.append(", activityStartTime=").append(activityStartTime);
        sb.append(", activityEndTime=").append(activityEndTime);
        sb.append(", finishDays=").append(finishDays);
        sb.append(", winningState=").append(winningState);
        sb.append(", createTime=").append(createTime);
        sb.append(", updateTime=").append(updateTime);
        sb.append(", awardDay=").append(awardDay);
        sb.append("]");
        return sb.toString();
    }
}